<table border=1>
{foreach from=$torrents item=t}
    <tr>
        <td><a href="/torrents/details/{$t.Torrent_id}">{$t.Torrent}</a></td>
        <td>{if $t.Downloaded}Downloaded{else} - {/if}</td>
    </tr>
{/foreach}
</table>